dreamweaver.behaviorInspector.getSelectedBehavior()

Availability 3.0
Description Gets the position in the Behavior inspector of the selected action.
Arguments None.
Returns An integer representing the position in the Behavior inspector of the selected action, or -1 if no action is selected.
Enabler None.
Example If the first action in the Behavior inspector is selected, as shown, a call to dw.behaviorInspector.getSelectedBehavior() returns 0.